package org.wukongcrm.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 收款表
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "receive_payment")
public class ReceivePayment implements Serializable {
    /**
     * 收款id
     */
    @TableId(value = "receive_payment_no", type = IdType.INPUT)
    private Integer receivePaymentNo;

    /**
     * 收款账户
     */
    @TableField(value = "receive_payment_name")
    private String receivePaymentName;

    /**
     * 收款方式
     */
    @TableField(value = "receive_payment_method")
    private String receivePaymentMethod;

    /**
     * 收款金额
     */
    @TableField(value = "receive_payment_amount")
    private BigDecimal receivePaymentAmount;

    /**
     * 收款备注
     */
    @TableField(value = "notes")
    private String notes;

    /**
     * 关联id
     */
    @TableField(value = "correlation_id")
    private Integer correlationId;

    /**
     * 1销售订单预收款 2销售出库收款
     */
    @TableField(value = "correlation_option")
    private Integer correlationOption;

    private static final long serialVersionUID = 1L;
}